import time

from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
import pandas as pd


def start_IE(url):
    service = Service('chromedriver.exe')
    driver = webdriver.Chrome(service=service)
    driver.get(url)
    driver.maximize_window()
    return driver


def read_excel(file_path, sheet_name):
    read = pd.read_excel(file_path, sheet_name=sheet_name)
    return read.values.tolist()
